using System;
using JEngine.Framework;
using UnityEngine;

[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
public class BaseAttribute : Attribute
{
}

public interface CC
{
   
}
public class A1 : InterTest
{
    public string tt;
}

public class A2:CC
{
    public int bb;
}

public class A3
{
}

public class InterTest
{
    public ushort opcode;
    public long userID;
}

public class A : HttpHandler<A1>
{
    protected override void Run(A1 message)
    {
        Debug.Log($"收到 {message.tt}");
        Send(new A2 {bb = 456});
    }
}

public class B
{
    public string name;
    public int age;
    public C c = new C();
}

public class C
{
    public int att;
}